package com.kjzy.service.impl;

import com.kjzy.mapper.ParameterMapper;
import com.kjzy.pojo.Parameter;
import com.kjzy.service.ParameterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ParameterServiceImpl implements ParameterService {
    @Autowired
    private ParameterMapper parameterMapper;

    // 获取指定类型的参数
    public List<Parameter> getParametersByType(String paramType) {
        return parameterMapper.getParametersByType(paramType);
    }
}
